<%@ page contentType="text/html;charset=UTF-8" isErrorPage="true"%>
<html>
  <head>
    <title>出错页面1</title>
    <style>
    #content {
      background:white; width:300px; height:50px; margin:10px; padding:10px;
      border:1px solid #666666; text-align:center;
    }
    </style>
    <script type="text/javascript">
    function init() {
      var obj = document.getElementById("content");
      obj.style.position = 'absolute';
      var l = (window.screen.width - 300) / 2;
      var t = (window.screen.height - 200) / 3;
      obj.style.left = l + 'px';
      obj.style.top = t + 'px';
    }
    </script>
  </head>
  <body onload="init();">
    <div id="content">
      <strong><%=exception.getMessage()%></strong><br/><br/>
      <button onclick="history.back();" style="border:1px solid #666666; cursor:hand;">
        返  回
      </button>
    </div>
  </body>
</html>
